{% extends 'base.html' %}
{% block title %}登录 - Local Library{% endblock %}
{% block content %}
<div class="center-box">
    <h2>用户登录</h2>
    <form method="post">
        {% csrf_token %}
        {{ form.as_p }}
        <button type="submit" class="btn">登录</button>
    </form>
    <p><a href="{% url 'index' %}" class="btn">返回首页</a></p>
</div>
{% endblock %}